﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 员工表
/// </summary>
public partial class SysEmployee
{
    /// <summary>
    /// 员工ID，主键
    /// </summary>
    public string EId { get; set; } = null!;

    /// <summary>
    /// 登录账号=联系电话
    /// </summary>
    public string? EAccount { get; set; }

    /// <summary>
    /// 登录密码
    /// </summary>
    public string? EPassword { get; set; }

    /// <summary>
    /// 盐
    /// </summary>
    public string? ESalt { get; set; }

    /// <summary>
    /// 员工姓名
    /// </summary>
    public string? EName { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? EPhone { get; set; }

    /// <summary>
    /// 性别,0-女 1-男
    /// </summary>
    public int? EGender { get; set; }

    /// <summary>
    /// 地址
    /// </summary>
    public string? EAddress { get; set; }

    /// <summary>
    /// 员工头像
    /// </summary>
    public string? EPhoto { get; set; }

    /// <summary>
    /// 所属部门ID，关联部门表
    /// </summary>
    public string? EDepartmentId { get; set; }

    /// <summary>
    /// 所属岗位ID，关联岗位表
    /// </summary>
    public string? EPostId { get; set; }

    /// <summary>
    /// 员工状态：1-在职，2-离职，3-休假
    /// </summary>
    public int? EStatus { get; set; }

    /// <summary>
    /// 账号状态：1-禁用，0-启用
    /// </summary>
    public int? EIsBan { get; set; }

    /// <summary>
    /// 是否空闲:0-空闲,1-相反
    /// </summary>
    public int? ELeisure { get; set; }

    /// <summary>
    /// 擅长领域,用,隔开
    /// </summary>
    public string? ESpecialties { get; set; }

    /// <summary>
    /// 员工备注信息
    /// </summary>
    public string? ERemark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? ECreateTime { get; set; }
}
